//
//  Size.h
//  jiajiao
//
//  Created by apple on 16/3/11.
//  Copyright © 2016年 apple. All rights reserved.
//

#ifndef Size_h
#define Size_h
//屏幕的bounds
#define KmainScreen [UIScreen mainScreen].bounds
//屏幕高度
#define KscrH [UIScreen mainScreen].bounds.size.height
//屏幕宽度
#define KscrW [UIScreen mainScreen].bounds.size.width
//状态栏高度
#define KstaBar [UIApplication sharedApplication].statusBarFrame.size.height
//导航栏高度
#define KnavBar self.navigationController.navigationBar.frame.size.height
//改变后的导航栏的高度
#define KBar 0

//状态栏和导航栏的高度
#define KBar1 (KnavBar+KstaBar)
//tabar的高度
#define KtarbarH self.tabBarController.tabBar.frame.size.height
//缩放比例
#define Kscr KscrW/375

//特例计算选择题
#define answerW KscrW-80*Kscr

#define Kapp ((AppDelegate *)[UIApplication sharedApplication].delegate)
//#define AppDel ((AppDelegate *)[UIApplication sharedApplication].delegate)


#endif /* Size_h */
